-
Notifications
You must be signed in to change notification settings - Fork 182
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Try/global styles support #17
Conversation
"foreground": "#141414", | ||
"background": "#F3EBE8", | ||
"button-text": "white", | ||
"button": "#817359", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do we have a "button" and "button-text" variables, these seem too specific to me. Why . not just use "primary" for buttons and "light-text" or something for the button text (same for nav).
I think we should try to limit the number of variables as much as possible and compute the others.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Those are good thoughts that I also agree with!
The first step was just extracting what Parisienne had and see how that looked. The next iteration for this PR should consolidate them into something general (for what we need to come up with a set of variables and its derivatives).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I do agree that these seem overly specific for now. Feel free to just assign primary/background colors here.
I think we should try to limit the number of variables as much as possible and compute the others.
I agree that this makes sense for the defaults, but I do think it'll be important to make sure theme authors (and users) can override these computed values with custom ones on a theme + global styles level.
Note that this is not ready for review! At the moment it's sort of a playground to demo Global Styles with |
Closing this in favor of #22 |
Work In Progress - see an alternative at #22
This is an experiment to try global styles on the Parisienne theme.